package com.example.traning.mybatisplus.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lei Yu
 * @since 2025-04-28
 */
@Getter
@Setter
@Accessors(chain = true)
public class Dept {

    @TableId(value = "DEPTNO", type = IdType.AUTO)
    private Integer deptno;

    private String dname;

    private String loc;
}
